package com.example.pharmacypick.dto;

import lombok.Data;
import lombok.ToString;

@Data
@ToString
public class DrugUpdateDto {

    //数量
    private int quantity;

    //更新药品的id
    private int drugNum;

    //库存
    private int drugStock;


    //update t_drug set stock=stock-#{quantity} where t_drug.drug_num=#{drug_num}
}
